package com.anjiebang.mvc.base;

import java.io.Serializable;

/**
 * json返回前台对象
 * Created by laiyanlin on 2018/4/8.
 */
public class RequestVo implements Serializable{
    public int code;
    public String msg;
    public Object data;

    public RequestVo(){}

    public RequestVo(int code,String msg,Object data){
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
